package com.qctpos.crm.webapi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.oas.annotations.EnableOpenApi;

@MapperScan("com.qctpos.crm.dao")
@ComponentScan(basePackages = {"com.qctpos.crm.webapi","com.qctpos.crm.service","com.qctpos.crm.dao","com.qctpos.crm.domain","com.qctpos.crm.common"})
@SpringBootApplication
@EnableOpenApi
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}

